<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<c:set value="recruit" var="moduleName" scope="request" />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<title>材料审核</title>
	</head>
	<body>
		<dict:dict type="province,city,district" var="provincecitydistrict" />
		<script type="text/javascript">
var provincecitydistrict = eval('('+'<%=application.getAttribute("provincecitydistrict")%>'+')');
</script>
		<table class="table-tab">
			<tr>
				<td class="td-tab">
					<a href="<c:url value="/console/recruit/applyConfirmEx.do?method=list" />">申请确认</a>
				</td>
				<td class="td-tab">
					<a href="<c:url value="/console/recruit/firstTrialEx.do?method=list" />">初审</a>
				</td>
				<td class="td-tab">
					<a href="<c:url value="/console/recruit/visitEx.do?method=list" />">走访</a>
				</td>
				<td class="td-tab cur-tab">
					<a href="<c:url value="/console/recruit/matReviewEx.do?method=list" />">材料审核</a>
				</td>
				<td class="td-tab-blank"></td>
			</tr>
		</table>
		<div class="div-content">
			<form action="<c:url value='/console/recruit/matReviewEx.do'/>" method="post">
				<table class="table-layout">
					<tr class="tr-odd">
						<td class="td-label">
							申请投资区域
						</td>
						<td>
							<span id="dropContainer_0"> <input type="hidden" name="filter_provinceId" value="<c:out value="${filters.provinceId}" />" /> <select id="drop_0"></select> </span>省&nbsp;&nbsp; <span id="dropContainer_1"> <input type="hidden" name="filter_cityId"
									value="<c:out value="${filters.cityId}" />" /> <select id="drop_1"></select> </span>市&nbsp;&nbsp; <span id="dropContainer_2"> <input type="hidden" name="filter_districtId" value="<c:out value="${filters.districtId}" />" /> <select id="drop_2"></select>
							</span>区
						</td>
					</tr>
					<tr class="tr-even">
						<td class="td-label">
							申请日期
						</td>
						<td>
							<input type="text" name="filter_earlierDate" value="<c:out value="${filters.earlierDate}" />" class="Wdate" onclick="WdatePicker()" />
							&nbsp;&nbsp;~&nbsp;&nbsp;
							<input type="text" name="filter_laterDate" value="<c:out value="${filters.laterDate}" />" class="Wdate" onclick="WdatePicker()" />
						</td>
					</tr>
					<tr class="tr-odd">
						<td class="td-label">
							状态
						</td>
						<td>
							<input type="hidden" id="filter_state" name="filter_state" value="<c:out value="${filters.state}" />" />
							<select id="selectstate">
								<option value="">
									请选择
								</option>
								<option value="2">
									材料收集中
								</option>
								<option value="1">
									通过
								</option>
								<option value="0">
									未通过
								</option>
							</select>
						</td>
					</tr>
				</table>
				<div class="right-opertion">
					<input type="button" value="搜索" onclick="search(this);" class="button" />
				</div>
				<br />
				<table class="table-layout">
					<tr class="tr-thead">
						<th rowspan="2" style="width:30px;">
							序号
						</th>
						<th rowspan="2">
							流水号
						</th>
						<th rowspan="2">
							走访日期
						</th>
						<th rowspan="2">
							<a href="javascript:void(0);" onclick="javascript:sort('corp',this)">公司全称</a>
						</th>
						<th colspan="3">
							申请投资区域
						</th>
						<th rowspan="2">
							初审
						</th>
						<th rowspan="2">
							走访
						</th>
						<th rowspan="2">
							材料
							<br />
							审核
						</th>
						<th rowspan="2">
							操作
						</th>
					</tr>
					<tr class="tr-thead">
						<th>
							省
						</th>
						<th>
							市
						</th>
						<th>
							县/区
						</th>
					</tr>
					<logic:present name="page">
						<logic-el:iterate name="page" property="result" id="applyJudgmentListVoEx" indexId="index">
							<tr class="<c:if test="${index % 2 == 0}">tr-odd</c:if><c:if test="${index % 2 == 1}">tr-even</c:if>">
								<td>
									<c:out value="${index + 1}" />
									&nbsp;
								</td>
								<td>
									<c:out value="${applyJudgmentListVoEx.serial}" />
									&nbsp;
								</td>
								<td>
									<c:out value="${applyJudgmentListVoEx.visitDate}" />
									&nbsp;
								</td>
								<td>
									<a href="<c:url value='applyBaseEx.do?method=view&id=${applyJudgmentListVoEx.applyId}'/>"><c:out value="${applyJudgmentListVoEx.corp}" /></a> &nbsp;
								</td>
								<td>
									<common:province name="applyJudgmentListVoEx" property="provinceId" />
									&nbsp;
								</td>
								<td>
									<common:city name="applyJudgmentListVoEx" property="cityId" />
									&nbsp;
								</td>
								<td>
									<common:district name="applyJudgmentListVoEx" property="districtId" />
									&nbsp;
								</td>
								<td style="text-align:center;">
									<c:choose>
										<c:when test='${"0" == applyJudgmentListVoEx.firstTrialState}'>
											<a href="<c:url value='firstTrialEx.do?method=view&applyBaseId=${applyJudgmentListVoEx.applyId}'/>"><img title="点击查看详细" src="<c:url value="/images/x.gif" />" /></a>
										</c:when>
										<c:when test='${"1" == applyJudgmentListVoEx.firstTrialState}'>
											<a href="<c:url value='firstTrialEx.do?method=view&applyBaseId=${applyJudgmentListVoEx.applyId}'/>"><img title="点击查看详细" src="<c:url value="/images/d.gif" />" /></a>
										</c:when>
										<c:when test='${"2" == applyJudgmentListVoEx.firstTrialState}'>--</c:when>
									</c:choose>
									&nbsp;
								</td>
								<td style="text-align:center;">
									<c:choose>
										<c:when test='${"0" == applyJudgmentListVoEx.visitState}'>
											<a href="<c:url value='visitEx.do?method=view&applyBaseId=${applyJudgmentListVoEx.applyId}'/>"><img title="点击查看详细" src="<c:url value="/images/x.gif" />" /></a>
										</c:when>
										<c:when test='${"1" == applyJudgmentListVoEx.visitState}'>
											<a href="<c:url value='visitEx.do?method=view&applyBaseId=${applyJudgmentListVoEx.applyId}'/>"><img title="点击查看详细" src="<c:url value="/images/d.gif" />" /></a>
										</c:when>
										<c:when test='${"2" == applyJudgmentListVoEx.visitState}'>--</c:when>
									</c:choose>
									&nbsp;
								</td>
								<td style="text-align:center;">
									<c:choose>
										<c:when test='${"0" == applyJudgmentListVoEx.matReviewState}'>
											<a href="<c:url value='matReviewEx.do?method=view&applyBaseId=${applyJudgmentListVoEx.applyId}'/>"><img title="点击查看详细" src="<c:url value="/images/x.gif" />" /></a>
										</c:when>
										<c:when test='${"1" == applyJudgmentListVoEx.matReviewState}'>
											<a href="<c:url value='matReviewEx.do?method=view&applyBaseId=${applyJudgmentListVoEx.applyId}'/>"><img title="点击查看详细" src="<c:url value="/images/d.gif" />" /></a>
										</c:when>
										<c:when test='${"2" == applyJudgmentListVoEx.matReviewState}'>
											<a href="<c:url value='matReviewEx.do?method=view&applyBaseId=${applyJudgmentListVoEx.applyId}'/>">收集中</a>
										</c:when>
									</c:choose>
									&nbsp;
								</td>
								<td>
									<c:if test='${"2" == applyJudgmentListVoEx.matReviewState}'>
										<a href="<c:url value='matReviewEx.do?method=edit&applyBaseId=${applyJudgmentListVoEx.applyId}'/>">审批</a>&nbsp;
									</c:if>
									<a href="<c:url value='/site/user/apply.do?method=download&id=${applyJudgmentListVoEx.applyId}'/>">下载</a>
								</td>
							</tr>
						</logic-el:iterate>
					</logic:present>
				</table>
				<page:page name="page" />
			</form>
		</div>
		<script type="text/javascript">
showDropDown(provincecitydistrict,["filter_provinceId","filter_cityId","filter_districtId"],"drop");
bindSelect("selectstate","filter_state");
</script>
	</body>
</html>
